const initState = {
   count:0
}

export const reducer = (state = initState, action) => {
 
    switch (action.type) {
        case '1':
            return {
                count: state.count + 1
            }
        case '2':
            return state
        default:
            return state
    }
}
